package com.ctgu.j08.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ctgu.j08.vo.DUser;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface DUserMapper extends BaseMapper<DUser> {
    int deleteByPrimaryKey(Integer userId);

    int insert(DUser record);

    int insertSelective(DUser record);

    DUser selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(DUser record);

    int updateByPrimaryKey(DUser record);

    DUser selectByUsername(String userName);

    List<DUser> getAllUserInfo();
}